import App from './App'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import request from '@/common/utils/request.js'
import Vue from 'vue'
// main.js
import uView from '@/uni_modules/uview-ui'
// import serverIp from '@/common/config.js'
Vue.use(uView)

Vue.config.productionTip = false

Vue.use(ElementUI,{size:"mini"});

//全局注册
Vue.prototype.request = request


App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()



import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
